package com.example.question;

public class Type {
    private int weight;
    private QuestiontypeEnum questiontypeEnum;

    public Type(int weight, QuestiontypeEnum questiontypeEnum) {
        this.weight = weight;
        this.questiontypeEnum = questiontypeEnum;
    }

    public Type() {
        weight = 1;
        questiontypeEnum = QuestiontypeEnum.TEN_ADD;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public QuestiontypeEnum getQuestiontypeEnum() {
        return questiontypeEnum;
    }

    public void setQuestiontypeEnum(QuestiontypeEnum questiontypeEnum) {
        this.questiontypeEnum = questiontypeEnum;
    }
}
